home *** CD-ROM | disk | FTP | other *** search
- #
- # Token for base filename = $project
- # Token for view parameters = $view
- #
- # Special Note:
- # In the resource only, values with spaces must be in quotation marks to preserve the
- # spaces. The quotation marks are dropped from the actual rif file produced by DW.
- #
- # ____________________________ General Notes ____________________________
- #
- # This is a command file for running Radiance using the "rad" command
- # with view parameters extracted from DesignWorkshop (DW) exported x.rpict.sh,
- #
- # and with the zone of interest x min, x max; y min, y max; z min, z max
- # recorded manually in DW for the DW scene.
- #
- # To actually execute the rendering on a unix system, use a command line like
- #
- # nice rad $project.rif &
- #
- #
- # _______________________ Project Specific Notes_____________________
- #
- #
- # Put any working notes of your own in here as convenient, preceeding each line
- # with the number symbol so the comments are ignored by the rad program.
- #
- #
- # _________________________ Functional Content____________________
- #
- # The "scene=" line defines the main Radiance geometry file.
- #
- # To rendermultiple ".rad" geometry files together, just the name of
- # each to this line, with a space between each complete filename.
- #
- scene= $project.rad
- #
- # Uncomment and set base file name correctly for "materials" file,
- # if you are using one. If the DesignWorkshop-Radiance materials
- # substitution library is _not_ installed in your Radiance environment,
- # then remove "dw.mat" from the "materials=" line.
- #
- # By default, the name-based material definitions in "dw.mat" will
- # override the color-based material definitions in $project.mat.
- #
- materials= $project.mat dw.mat
- #
- #
- OCTREE= $project.oct
- #
- # Uncomment and adjust "oconv" options if necessary. For instance,
- # if Radiance gives an error "Set Overflow in oconv", try repeatedly
- # doubling the -r value below until either your rendering works, or
- # you get a different error.
- #
- # oconv -r 1024
- #
- # PICTURE defines the base name for output images.
- #
- PICTURE= $project
- #
- #
- # Example View Parameters: view= -vtv -vp -169.308 -146.681 17.0199 -vd 109.551 96.3275 0.0801116 -vu 0 0 1 -vh 70 -vv 70 -vs 0 -vl 0
- #
- view= $view
- #
- # Read dimensions from DW model to set zone of interest, interior
- # or exterior. The zone of interest defines the region of the model
- # for which lighting calculations will be optimized, and also the limits
- # of the scene for parallel projections. By default, the zone of interest
- # is the whole model. Smaller zones defined here manually may give
- # faster and better rendering results.
- #
- # Note:
- # The y axis is reversed in direction in the Radiance coordinate system
- # as compared to the DesignWorkshop coordinate system,
- # so switch the sign of Y max and Y min values (only). To do this,
- # switch the sign of each the DW Y values, but don't consider their
- # order until after the signs have been switched. Then look
- # at the values, and make sure they end up in the order y min, y max.
- #
- # (In DesignWorkshop, max Y is in the far south, but in Radiance,
- # max Y is in the far north)
- #
- # Format:
- #
- # zone_type x min x max y min y max z min z max
- #
- # ZONE= exterior -75 75 -50 50 0 50
- #
- #
- # ______ ADDITIONAL OPTIONS Section___________________________
- #
- # When doing repeated refinement of large scenes,
- # uncomment the ambient file setting below for efficiency
- # and set base file name correctly for "ambfile".
- # (See Radiance documentation for details.)
- #
- # AMBFILE= $project.amb
- #
- #
- # "resolution" sets the dimensions in pixels of the final rendering.
- # Our default is 512, a medium-small setting. More than 1024 is big.
- #
- RESOLUTION= 512
- #
- # "quality" can be set low, medium, or high. Our default is medium.
- #
- QUALITY= medium
- #
- # "detail" can be set low, medium, or high. Our default is medium.
- # Increasing the detail settign will show finer detail in renderings,
- # but they will take longer and require more system resources.
- #
- DETAIL= medium
- #
- # Increasing "variability" will smooth the lighting in a scene
- # but will substantially increase rendering times.
- # Our default is medium.
- #
- VARIABILITY= medium
- #
- # "indirect" defines the number of indirect bounces for lighting
- # calculations.
- # 0 gives fast, simple shadow-casting without interreflections.
- # A number greater than 2 will be slow with diminishing returns.
- # Our default of 2 provides good interior renderings, though it is
- # a bit on the slow side.
- #
- INDIRECT= 2
- #
- # "report" defines the interval for periodic status reports,
- # by default set here to every "2" minutes, and the name for the "error
- # file" used for these reports, by default set here to "progress"
- #
- REPORT= "2 progress"
- #
- # Set "penumbras" to T to get softer lights, at the expense of much slower
- # renderings.
- #
- PENUMBRAS= F
- #
- #
- # ______ OPTIONAL Additional View Controls __________________________
- #
- # There are several standard view identifiers defined by rad, which you
- # can use to define orthographic and axonometric projections.
- #
- # Thesestandard views are specified by strings of the form
- #
- # [x]?[y]?[z]?[vlah]?
- #
- # (That is, an x or X followed by a y or Y followed by a z or Z followed
- # by an optional v, l, a or h.)
- #
- # The letters indicate the desired view position, where
- # upper case X means maximum X, lower case x means minimum x
- # and so on. The final letter is the view type, where 'v' is
- # perspective (the default), 'l' is parallel, 'a' is angular fisheye,
- # and 'h' is hemispherical fisheye. A perspective view from
- # maximum X, minimum Y would be "Xy" or "Xyv". A parallel view from
- # maximum Z would be "Zl".
- #
- # If "ZONE" is an interior zone, the standard views will be cut to inside
- # the zone perimeter. If it is an exterior zone, the standard views
- # will be outside, as if the model is viewed from entirely outside its
- # boundaries.
- #
- # To calculate several views at once of the same model, add another
- # "view= " line for each. Rad will automatically produce an image for
- # each view, reusing as much information as possible for maximum
- # efficiency.
- # You can do this with the standard views specified below, or with a
- # series of perspective views exported for DesignWorkshop, for
- # instance for animations.)
- #
- # ________ Standard Views _________
- #
- # Uncomment each "view=" line to render that view in
- # addition to any other views you have set up above.
- #
- # view= Zl # plan view, looking straight down (from max Z of "zone" if interior)
- #
- # view= yl # south elevation, looking straight north
- # (section from min y of"zone" if interior)
- #
- # view= Xl # east elevation, looking straight west (section from min y of
- # (section from min y ofif interior)
- #
- # view= Yl # north elevation, looking straight south (section from min y of
- # (section from min y of"zone" if interior)
- #
- # view= xl # west elevation, looking straight east (section from min y of
- # (section from min y ofif interior)
- #
- # view= xyZl # SWaxn -- axonometric from southwest and above
- # view= XyZl # SWaxn -- axonometric from southeast and above
- # view= xYZl # NWaxn -- axonometric from northwest and above
- # view= XYZl # NEaxn -- axonometric from northeast and above
- #
- #
- # ________________________ CONSTANT Parameters ____________________
- #
- # "up" defines the axis to consider vertical. This should
- # not normally be changed while using DesignWorkshop models.
- #
- UP= Z
- #
- #
- # End of rif file
- EOF
-
-